package com.baili.healthauth;

import com.baili.healthcommoncore.domain.config.RedisConfig;
import com.baili.healthcommoncore.domain.handler.GlobalExceptionHandler;
import com.baili.healthcommoncore.domain.redis.RedisCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @Author：ShenJiaFeng
 * @Package：com.baili
 * @Project：Default (Template) Project
 * @name：${NAME}
 * @Date：2024/5/26 9:48
 */
@SpringBootApplication
@EnableFeignClients(
        "com.baili"
)
@Import(value = {RedisCache.class, RedisConfig.class, GlobalExceptionHandler.class})
public class HealthAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(HealthAuthApplication.class,args);
    }
}
